package api

import (
	"smc-admin/controller"

	"github.com/gin-gonic/gin"
)

func Quality(path *gin.RouterGroup) {
	router := path.Group("/quality")
	{
		router.POST("/add", controller.AddQuality)
		router.GET("/findByPage", controller.FindQualityByPage)
		router.GET("/findByPageOr", controller.FindQualityByPageOr)
		router.PUT("/update", controller.UpdateQuality)
		router.DELETE("/delete", controller.DeleteQuality)
	}
}
